# import os
# import sys
# import django
#
# base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# sys.path.append(base_dir)
# os.environ.setdefault('DJANGO_SETTINGS_MODULE', 's25.settings')
# django.setup()  # os.environ['DJANGO_SETTINGS_MODULE']
#
# from web import models
#
# # 往数据库添加数据：链接数据库、操作、关闭连接
# models.UserInfo.objects.create(username='美美', email='meimei@live.com', mobile_phone='13888888888', password='123123123')
